Gets the display name for the service with the given name.
HRESULT GetDisplayName(BSTR serviceName, [out,retval] BSTR* displayName);
GetDisplayName(String serviceName, [out,retval] BSTR displayName);
Sub GetDisplayName(serviceName As String, displayName As [out,retval] BSTR)
Parameters |
Description |
[in] BSTR serviceName |
The name of the service for which you want the display name. |
[out,retval] BSTR* displayName |
Returns the corresponding display name. |
The display name for the specified service.
This method simply iterates through the services in the collection looking for the service with the specified name. If a matching service cannot be found, the method fails with error ADT_E_NOT_FOUND.
adTempus API Reference version 3.0.0.0, revised 10/30/2008
|